#pragma once

#ifdef _AFXDLL
#define DLL_API _declspec(dllexport)
#else
#define DLL_API _declspec(dllimport)
#endif

#include "cv.h"


class DLL_API CCamera
{
public:
    virtual void  Initialize();
    virtual	IplImage* CaptureFrame() = 0;

    CString GetDescription();
    void SetDescription(const char* description);

    void SetName(const char* name);
    CString GetName();

    bool IsInitialized();
    int GetCameraId();
    void SetCameraId(int id);

    CCamera();
    virtual ~CCamera(void);

    

protected:
    CString m_name;
    CString m_description;
    bool m_initialized;
    int m_cameraId;
};

